package com.example.innospace.demos.web.service;

import com.example.innospace.demos.pojo.dto.TeacherDTO;
import com.example.innospace.demos.pojo.dto.TeacherPageQueryDTO;
import com.example.innospace.demos.pojo.entity.Teacher;
import com.example.innospace.demos.pojo.result.PageResult;

import java.util.List;

public interface TeacherService {
    String getpassword(String teacherId);

    void updatePassword(String newPassword, String teacherId);

    Teacher findById(String teacherId);

    void insert(TeacherDTO teacherDTO);

    boolean batchDeleteById(List<String> teacherIds);

    void updateTeacherInfo(String teacherId, Teacher teacher);

    void resetTeacherPassword(String teacherId);

    void teacherstartOrstop(Integer status, String teacherId);

    PageResult pageQuery(int pageNum, int pageSize, TeacherPageQueryDTO teacherPageQueryDTO);

    void updateAvatar(String teacherId, String fileUrl);

    String getAvatar(String teacherId);
}
